#

pkgname=tumbler
pkgver=0.1.21
pkgrel=3
pkgdesc="D-Bus service for applications to request thumbnails"
url="http://git.xfce.org/xfce/tumbler/"
license=('GPL2' 'LGPL')
arch=('ppc')
groups=('xfce4')
depends=('glib2' 'libpng' 'freetype2' 'dbus-glib' \
				'gdk-pixbuf2' 'libjpeg' 'libexif' 'poppler-glib')
makedepends=('intltool' 'pkg-config' 'gettext')
optdepends=('ffmpegthumbnailer:	for video thunbnails')
options=('!libtool')
source=(http://archive.xfce.org/src/apps/${pkgname}/0.1/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2ef0d30750f95efe345de4655049d4f6')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--disable-static \
	--enable-xdg-cache \
	--disable-gtk-doc-html \
	--without-html-dir \
	--enable-nls \
	--enable-pixbuf-thumbnailer \
	--enable-font-thumbnailer \
	--enable-jpeg-thumbnailer \
	--disable-ffmpeg-thumbnailer \
	--enable-poppler-thumbnailer
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=$pkgdir install
}
